{% extends '::base.html.twig' %}
{% block title %}Eliminar Carrera{% endblock %}

{% block greensectiontitle %}Eliminar Carrera{% endblock %}
{% block greensectionbody %}

<table class="record_properties">
    <tbody>
        <tr>
            <th>Id</th>
            <td>{{ entity.id }}</td>
        </tr>
        <tr>
            <th>Codigo</th>
            <td>{{ entity.codigo }}</td>
        </tr>
        <tr>
            <th>Nombre</th>
            <td>{{ entity.nombre }}</td>
        </tr>
    </tbody>
</table>

<form id='deleteForm' action="{{ path('carrera_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
        <div id="controls">
            <a title="Eliminar carrera"id="deleteButton" href="#">Eliminar</a>
            <a title="Cancelar y volver a la lista de carreras"href="{{ path('carrera') }}">Cancelar</a>
        </div>
    </form>


{% endblock %}